<html>
<head>
<title>myNerdbot</title>
</head>

<body>
<h1>myNerdbot</h1>

<h2>{{ card.title }}</h2>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}


<h3>Tags</h3>
{%for c in card.tags.all %}
{{c}}
<br>
{%endfor%}


<form action="/cards/{{ card.id }}/vote/" method="post">
{% for tag in card.tags.all %}
    <input type="radio" name="choice" id="choice{{ forloop.counter }}" value="{{ tag.id }}" />
    <label for="choice{{ forloop.counter }}">{{ tag.name }}</label><br />
{% endfor %}
<input type="submit" value="Choose" />
</form>
</body>
</html>
